package com.lwl.dubbo.service;

import java.io.InputStream;
import java.util.List;

import com.lwl.dubbo.bean.User;
/**
 * 用户的接口
 * @author 李圣凤
 * @create 2018-6-26 下午2:36:56
 * 
 */
public interface UserService {
	
	public boolean addUserBatch(InputStream inputStream);

	public User findbyId(Integer userid);

	public boolean hasSameName(Integer userid, String loginname);

	public boolean updateUser(User user);

	public boolean addUser(User user);

	public List<User> findByKeyword(User user);

	public User loginValidate(String loginname, String afterEncode);
	
}
